package com.yx.system.dao;

import com.yx.system.entity.TdBook;
import com.yx.system.entity.TdReadPayLog;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 阅读支付记录
 */
@Mapper
@Repository
public interface TdReadPayLogMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdReadPayLog record);

    int insertSelective(TdReadPayLog record);

    TdReadPayLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdReadPayLog record);

    int updateByPrimaryKey(TdReadPayLog record);

    /**
     * 查询书籍列表
     */
    List<TdReadPayLog> queryList(Map<String, Object> map);

    /**
     * 查询总数
     */
    int queryTotal(Map<String, Object> map);
}